import 'package:flutter_base_plugin_example/page/login/vm/login_view_model.dart';
import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';

import '../page/home/vm/home_view_model.dart';

List<SingleChildWidget> providers = [
  ...independentServices,
  ...dependentServices,
];
//独立的model
List<SingleChildWidget> independentServices = [
  Provider<HomeViewModel>(create: (_) => HomeViewModel()),
  Provider<LoginViewModel>(create: (_) => LoginViewModel()),


];
List<SingleChildWidget> dependentServices = [];
